﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="IngList.aspx.cs" Inherits="MaluJg.web.Move.IngList" %>

<%@ Register Src="~/Common/MovePager.ascx" TagName="MPager" TagPrefix="wsc" %>
<%@ Register Src="~/Stats/yearselect.ascx" TagName="yearselect" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>
        <%=Year %>年动迁进展情况表</title>
    <link href="../Style/CSS/css.css" rel="stylesheet" type="text/css" />
    <link href="../Images/Style.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../Scripts/jquery.js"></script>

    <script type="text/javascript" src="../Scripts/common.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <table cellspacing="0" cellpadding="0" border="0" class="" width="100%">
        <tr class="TitleBar">
            <td class="MainTitle">
                <%=Year %>年动迁企业汇总表
            </td>
        </tr>
    </table>
    <uc1:yearselect runat="server" ID="yearselect1"></uc1:yearselect>
    <div id="divMain">
        <table class="PageGridHeader01" cellspacing="0" cellpadding="0" border="1" id="tblList"
            align="center" width="100%">
            <tr>
                <td width="30" rowspan="2" align="center">
                    序号
                </td>
                <td rowspan="2"  align="center">
                    企业名称
                </td>
                <td colspan="4" align="center">
                    协议价格组成部分
                </td>
                <td width="80" rowspan="2" align="center">
                    协议总价
                </td>
                <td colspan="4" width="280" align="center">
                    动迁费用支付情况
                </td>
            </tr>
            <tr>
                <td width="210" align="center">
                    评估金额（实物资产）
                </td>
                <td width="80" align="center">
                    土地补偿金额
                </td>
                <td width="80" align="center">
                    停工停产费用
                </td>
                <td width="80" align="center">
                    各类奖励费用
                </td>
                <td width="60" align="center">
                    第一期
                </td>
                <td width="60">
                    第二期
                </td>
                <td width="60">
                    第三期
                </td>
                <td width="100">
                    备注
                </td>
            </tr>
        </table>
        <table class="MainInfolist" cellspacing="0" cellpadding="0" border="0" width="100%">
            <asp:Repeater runat="server" ID="rptList">
                <ItemTemplate>
                    <tr>
                        <td  width="30">
                            <%# Container.ItemIndex + 1 %>
                        </td>
                        <td>
                            <a href="MFrame.aspx?id=<%#Eval("id")%>" target="_blank"><%#Eval("EnterpriseName")%></a>
                        </td>
                        <td width="210">
                            <%#Eval("PingGu")%>
                        </td>
                        <td width="80">
                            <%#Eval("TuDiBuChangJinE")%>
                        </td>
                        <td width="80">
                            <%#Eval("TingGong")%>
                        </td>
                        <td width="80">
                            <%#Eval("GeLeiJiangli")%>
                        </td>
                        <td width="80">
                            <%#Eval("XieYiJia")%>
                        </td>
                        <td width="60">
                            <%#Eval("Di1")%>
                        </td>
                        <td width="60">
                            <%#Eval("Di2")%>
                        </td>
                        <td width="60">
                            <%#Eval("Di3")%>
                        </td>
                        <td width="100">
                            <%#Eval("ZhiFuRemark")%>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
        <wsc:MPager ID="pgList" runat="server" OnPreRender="pgList_OnPreRender" />
    </div>
    <br />

    <script>        function PageResize() {
            var height = document.getElementById('tblList').clientHeight;
            var MainFrame = document.getElementById("divMain");
            var _height = document.documentElement.clientHeight;
            if (_height < height + 100)
                _height = height + 100;
            MainFrame.style.height = _height - 100 + "px";

        }
        PageResize();
        window.onresize = PageResize;
        
    </script>

    </form>
</body>
</html>
